home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10742 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. From: _GOYRA_@msn.com (David Byrden)
  2. Subject: RE: Nested templates in MSVC 4?
  3. Date: 9 Mar 96 21:42:34 -0800
  4. References: <00001a81+0000abe7@msn.com>
  5. Message-ID: <00001a81+0000abf5@msn.com>
  6. Path: news.msn.com!msn.com
  7. Newsgroups: comp.lang.c++
  8. Organization: The Microsoft Network (msn.com)
  9.  
  10.  
  11. Roger;
  12.  
  13. --------------------
  14.  
  15. >> Perhaps there's a software switch somewhere that I need to throw for ANSII 
  16. >> compatability or something??
  17.  
  18. Since the ANSI standard is not yet released, this is theoretically impossible.
  19.  
  20. ------------------
  21.  
  22. >>     array<generic_type<int>> arr;
  23. >>  has Microsoft left nested templates out of their pretty, new package??
  24.  
  25.    The phrase "nested templates" refers to template classes with 
  26. members which are independently templatised, not to the use of a 
  27. specialised class template to specialise another class template. 
  28. Microsoft can do the latter but not the former.
  29.  
  30.   I don't have a compiler to hand, but I suggest putting  a space 
  31. between the two >> so you don't form the right-shift operator. This 
  32. is a problem in the C++ language.
  33.  
  34.  
  35.                         David
  36.